#include<iostream>
#include"share_ptr.h"
using namespace lth;
using std::string;
using std::cout;
using std::endl;

int main()
{
	shared_ptr<string> s1 = new string("wwerwrewr");
	shared_ptr<string> s3 = s1;

	shared_ptr<string> s2 = new string("abababab");

	s3 = s2;
	cout << *s3 << endl;
	return 0;
}